@import "~normalize.css";

html,
body,
#app {
  width: 100%;
  height: 100%;

  &:before {
    content: "";
    display: table;
  }
}

.border-box {
  box-sizing: border-box;
}

.pointer {
  cursor: pointer;
}

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

a {
  text-decoration: none;
}

// 淘宝免费商用字体
// https://alibabafont.taobao.com/
@font-face {
  font-family: 'AlibabaPuHuiTiM';
  src: url('../fonts/Alibaba-PuHuiTi/Alibaba-PuHuiTi-Medium.ttf');
}

@font-face {
  font-family: 'AlibabaPuHuiTiR';
  src: url('../fonts/Alibaba-PuHuiTi/Alibaba-PuHuiTi-Regular.ttf');
}

@font-face {
  font-family: 'AlibabaSans-LightItalic';
  src: url('../fonts/AlibabaSans/AlibabaSansNornalltalics/AlibabaSans-LightItalic.otf');
}
